/*
 * @Author: g05047
 * @Date: 2023-04-20 16:48:06
 * @LastEditors: g05047
 * @LastEditTime: 2023-04-20 16:48:22
 * @Description: file content
 */
const CryptoJS = require("crypto-js");
export let timestamp = () => {
  let data = Date.parse(new Date());
  let key = "53af4e0914f92ac0";
  key = CryptoJS.enc.Utf8.parse(key);
  var srcs = CryptoJS.enc.Utf8.parse(data);
  var encrypted = CryptoJS.AES.encrypt(srcs, key, { mode: CryptoJS.mode.ECB, padding: CryptoJS.pad.Pkcs7 });
  return encrypted.toString();
}
